EverKey C++ MFC .Net4 Example Program for Using the KeyChk DLL

Written Using Visual Studio 2010

Last Revised: November 9, 2014

  Overview

    The Example program can be used to demonstrate how to access
    the Key and test its behavior.

    It uses a Product-ID of "Examples" and Product PIN of "375391873".
    The Product-ID is usually a short version of the Product Name.
    The Product PIN is different for each Product and should be
    treated as a Company Secret.

    To make testing as easy as possible, we have already built the
    x86 and x64 Example program in the Release folder.
    All you need is a Key with the same Product-ID and Product PIN
    that the Example program is expecting.

  Here's how to create the "Examples" Key:

      1) Install EverKey or download KeyBuild from Az-Tech.com.
      2) Run KeyBuild.  Go to the "Build Keys" panel and
         click the "Reset To Defaults" button.
      3) Plug an EverKey Rockey4ND (or Rockey4) into a USB port.
      4) Click the "Build Keys Using These Options" button.
      5) When the "Build Keys Summary" dialog appears,
         click "Build Keys".
      6) You now have a Key with a Product-ID of "Examples" and
         built with a Product PIN of "375391873".

Using the Example Program

      1) Plug the Rockey Key into the computer where EverKey
         is installed.
      2) Run KeyShow.exe to ensure that the Key has a "Product-ID"
         of "Examples".  If not, use KeyBuild.exe to build the Key
         as described above.
      3) Navigate to the "Release" folder for this Examples program
         and run the program "Test_KeyChk.exe".
         If you are using a 64-bit Edition of Windows, you can
         run the program "Test_KeyChk64.exe".
      4) Clicking the button labelled "Do KeyChk Function 1" will
         call the KeyChk DLL to perform a Key Check without
         updating the "Uses Limit" of the Key.
      5) Clicking the button labelled "Do KeyChk Function 2" will
         call the KeyChk DLL to perform a Key Check AND
         subtract "1" from the current "Uses Limit" of the Key.

To Build Your Own Example Program

        1) Start Visual Studio 2010 or later.
        2) Open the KeyChk_VS2010_CPP_MFC_Net4.sln solution.
        3) From the menu bar, click Build->Batch Build.
        4) Click the "Rebuild" button.  This will build all
           four Example programs; the Debug and Release
           versions for the Win32 and x64 platforms.

Technical Support

    We offer Unlimited FREE Support via Email and our web site.

       Email: Support@Az-Tech.com
         Web: Az-Tech.com/support.html

End of Readme.txt file.
